cmake_minimum_required (VERSION 3.0)

set(OpenCV_DIR "D:/opencv/vsbuild/install")
find_package(OpenCV REQUIRED)

include_directories (
	${CMAKE_SOURCE_DIR}/pnp 
	${CMAKE_SOURCE_DIR}/pnp/epnp
)

# add pnp library
add_library(epnp epnp.cc epnp.h)
target_link_libraries(epnp ${OpenCV_LIBS})

